<template>
    <div class="app-container home">
        <div class="welcome">
            <img width="1400" src="/src/assets/images/欢迎图.png" alt="">
            <!-- <el-button @click="downloadFile()">下载文件</el-button>
          <fileUpload></fileUpload> -->
        </div>
    </div>
</template>

<script setup name="Index">
	import { download } from '@/utils/request'
	import fileUpload from '@/components/FileUpload'

	function downloadFile() {
		const data = {
			'fileName': 'https://yunyi-zouli.oss-rg-china-mainland.aliyuncs.com/yunyi/2023/08/28/分组_20230828181039A001.txt',
			'delete': true
		}

		const file = data.fileName.substring(data.fileName.lastIndexOf("/") + 1);
		download('/common/download', data, data.fileName, null);
	}

</script>

<style scoped lang="scss">
.home {
    .welcome {
        text-align: center;
    }
}
</style>

